import React, { FC } from "react"
import "./questionCard.css"

// ts自定义类型(类型检查)
type PropsType = {
  id: string
  title: string
  isPublished: boolean
}

const questionCard: FC<PropsType> = (props) => {
    const {id, title, isPublished} = props
    function edit(id: string) {
        console.log("edit", id)
      }
      
}
